const form = layui.form
axios.get('/my/article/cates').then(({ data: { data } }) => {
  let newArr = data.map(
    ({ Id, name }) => `<option value="${Id}">${name}</option>`
  )
  $image('[name=cate_id]').append(newArr.join(''))

  form.render()
})
const E = window.wangEditor
const editor = new E("#contentBox")
editor.config.zIndex = 1
// 或者 const editor = new E(document.getElementById('div1'))
editor.create()